package cn.iocoder.yudao.module.ad.statistics.vo;

import cn.iocoder.yudao.framework.business.basic.pojo.po.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * 广告数据统计 DO
 *
 * @author 山野羡民（1032694760@qq.com）
 */
@TableName("ad_statistics")
//@KeySequence("ad_statistics_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@NoArgsConstructor
public class AdStatisticsRespVO extends BaseEntity {

    @Schema(description = "计划编号", example = "1")
    private Long planId;

    @Schema(description = "创意编号", example = "1")
    private Long creativeId;

    @Schema(description = "累计曝光次数", example = "100")
    private Integer exposureCount;

    @Schema(description = "累计点击次数", example = "50")
    private Integer clickCount;

    @Schema(description = "累计花费金额，单位为分", example = "5000")
    private Integer spendPrice;

    @Schema(description = "统计日期", example = "2023-10-01")
    private LocalDate date;

}
